home *** CD-ROM | disk | FTP | other *** search
/ UnrealScript Game Programming All in One / UnrealScriptGameProgrammingAllInOne.iso / start.exe / start.dxr / 00020_Frame Loop.ls < prev    next >
Encoding:
Text File  |  2006-03-10  |  186 b   |  8 lines

  1. on exitFrame me
  2.   if (the timer > 500) and (sprite(16).blend > 0) then
  3.     sprite(16).blend = sprite(16).blend - 2
  4.     sprite(6).blend = sprite(6).blend + 2
  5.   end if
  6.   go(the frame)
  7. end
  8.